<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>

<title>NonreceiverTerm (randoop 4.1.0 API)</title>

<link rel="stylesheet" type="text/css" href="../../javadocstyle.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="NonreceiverTerm (randoop 4.1.0 API)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":10,"i10":9,"i11":10,"i12":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../randoop/operation/MethodCall.html" title="class in randoop.operation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../randoop/operation/Operation.html" title="interface in randoop.operation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?randoop/operation/NonreceiverTerm.html" target="_top">Frames</a></li>
<li><a href="NonreceiverTerm.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">randoop.operation</div>
<h2 title="Class NonreceiverTerm" class="title">Class NonreceiverTerm</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../randoop/operation/CallableOperation.html" title="class in randoop.operation">randoop.operation.CallableOperation</a></li>
<li>
<ul class="inheritance">
<li>randoop.operation.NonreceiverTerm</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../randoop/operation/Operation.html" title="interface in randoop.operation">Operation</a></dd>
</dl>
<hr>
<br>
<pre>public final class <span class="typeNameLabel">NonreceiverTerm</span>
extends <a href="../../randoop/operation/CallableOperation.html" title="class in randoop.operation">CallableOperation</a></pre>
<div class="block">Represents a value that either cannot (primitive or null values), or we don't care to have
 (String, Class) be a receiver for a method call as an <a href="../../randoop/operation/Operation.html" title="interface in randoop.operation"><code>Operation</code></a>.

 <p>As an <a href="../../randoop/operation/Operation.html" title="interface in randoop.operation"><code>Operation</code></a>, a value v of type T is formally represented by an operation v : []
 &rarr; T, with no input types, and the type of the value as the output type. This kind of
 operation is a <i>ground</i> term &mdash; it requires no inputs.

 <p>The execution of this <a href="../../randoop/operation/Operation.html" title="interface in randoop.operation"><code>Operation</code></a> simply returns the value.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#type">type</a></span></code>
<div class="block">The <a href="../../randoop/types/Type.html" title="class in randoop.types"><code>Type</code></a> of this non-receiver term.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#value">value</a></span></code>
<div class="block">The value of this non-receiver term.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#NonreceiverTerm-randoop.types.Type-java.lang.Object-">NonreceiverTerm</a></span>(<a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;type,
               <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Constructs a NonreceiverTerm with type t and value o.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#appendCode-randoop.types.Type-randoop.types.TypeTuple-randoop.types.Type-java.util.List-java.lang.StringBuilder-">appendCode</a></span>(<a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;declaringType,
          <a href="../../randoop/types/TypeTuple.html" title="class in randoop.types">TypeTuple</a>&nbsp;inputTypes,
          <a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;outputType,
          <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../randoop/sequence/Variable.html" title="class in randoop.sequence">Variable</a>&gt;&nbsp;inputVars,
          <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;b)</code>
<div class="block">Produces a Java source code representation of this statement and appends it to the given
 StringBuilder.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>(package private) static <a href="../../randoop/operation/NonreceiverTerm.html" title="class in randoop.operation">NonreceiverTerm</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#createNullOrZeroTerm-randoop.types.Type-">createNullOrZeroTerm</a></span>(<a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;type)</code>
<div class="block">Returns a NonreceiverTerm holding the zero value for the specified class c.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
<div class="block">Indicates whether this object is equal to o</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../randoop/ExecutionOutcome.html" title="class in randoop">ExecutionOutcome</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#execute-java.lang.Object:A-java.io.PrintStream-">execute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;statementInput,
       <a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a>&nbsp;out)</code>
<div class="block">Performs this operation using the array of input values.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#getName--">getName</a></span>()</code>
<div class="block">Returns the name for the operation.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#getType--">getType</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#getValue--">getValue</a></span>()</code>
<div class="block">Returns the "value" of an operation that is actually a ground term, meaning a constant of some
 form.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#hashCode--">hashCode</a></span>()</code>
<div class="block">Returns a hash code value for this NonreceiverTerm</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#isNonreceiverType-java.lang.Class-">isNonreceiverType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c)</code>
<div class="block">Determines whether the given <code>Class&lt;?&gt;</code> is the type of a non-receiver term.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#isNonreceivingValue--">isNonreceivingValue</a></span>()</code>
<div class="block">Predicate to indicate whether this object represents a value of a non-receiving type (includes
 numbers, strings, and null).</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static <a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#parse-java.lang.String-">parse</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
<div class="block">Parse a non-receiver value in a string in the form generated by <a href="../../randoop/operation/NonreceiverTerm.html#toParsableString-randoop.types.Type-randoop.types.TypeTuple-randoop.types.Type-"><code>toParsableString(Type, TypeTuple, Type)</code></a></div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#toParsableString-randoop.types.Type-randoop.types.TypeTuple-randoop.types.Type-">toParsableString</a></span>(<a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;declaringType,
                <a href="../../randoop/types/TypeTuple.html" title="class in randoop.types">TypeTuple</a>&nbsp;inputTypes,
                <a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;outputType)</code>
<div class="block">Returns a string representation of this Operation, which can be read by static parse method for
 class.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/operation/NonreceiverTerm.html#toString--">toString</a></span>()</code>
<div class="block">Returns string representation of this NonreceiverTerm</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.randoop.operation.CallableOperation">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;randoop.operation.<a href="../../randoop/operation/CallableOperation.html" title="class in randoop.operation">CallableOperation</a></h3>
<code><a href="../../randoop/operation/CallableOperation.html#getArgumentString-randoop.sequence.Variable-">getArgumentString</a>, <a href="../../randoop/operation/CallableOperation.html#getReflectionObject--">getReflectionObject</a>, <a href="../../randoop/operation/CallableOperation.html#isConstantField--">isConstantField</a>, <a href="../../randoop/operation/CallableOperation.html#isConstructorCall--">isConstructorCall</a>, <a href="../../randoop/operation/CallableOperation.html#isMessage--">isMessage</a>, <a href="../../randoop/operation/CallableOperation.html#isMethodCall--">isMethodCall</a>, <a href="../../randoop/operation/CallableOperation.html#isStatic--">isStatic</a>, <a href="../../randoop/operation/CallableOperation.html#isUncheckedCast--">isUncheckedCast</a>, <a href="../../randoop/operation/CallableOperation.html#satisfies-randoop.reflection.ReflectionPredicate-">satisfies</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="type">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>type</h4>
<pre>private final&nbsp;<a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a> type</pre>
<div class="block">The <a href="../../randoop/types/Type.html" title="class in randoop.types"><code>Type</code></a> of this non-receiver term.</div>
</li>
</ul>
<a name="value">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>value</h4>
<pre>private final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value</pre>
<div class="block">The value of this non-receiver term. Must be null, a String, or a boxed primitive.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="NonreceiverTerm-randoop.types.Type-java.lang.Object-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>NonreceiverTerm</h4>
<pre>public&nbsp;NonreceiverTerm(<a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;type,
                       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
<div class="block">Constructs a NonreceiverTerm with type t and value o.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the type of the term</dd>
<dd><code>value</code> - the value of the term</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="isNonreceiverType-java.lang.Class-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNonreceiverType</h4>
<pre>public static&nbsp;boolean&nbsp;isNonreceiverType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c)</pre>
<div class="block">Determines whether the given <code>Class&lt;?&gt;</code> is the type of a non-receiver term.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - the <code>Class&lt;?&gt;</code> object</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the given type is primitive, boxed primitive, or <code>String</code>; false
     otherwise</dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
<div class="block">Indicates whether this object is equal to o</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<div class="block">Returns a hash code value for this NonreceiverTerm</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<div class="block">Returns string representation of this NonreceiverTerm</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="getName--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getName()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../randoop/operation/Operation.html#getName--">Operation</a></code></span></div>
<div class="block">Returns the name for the operation.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the name for this operation</dd>
</dl>
</li>
</ul>
<a name="execute-java.lang.Object:A-java.io.PrintStream-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;<a href="../../randoop/ExecutionOutcome.html" title="class in randoop">ExecutionOutcome</a>&nbsp;execute(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;statementInput,
                                <a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a>&nbsp;out)</pre>
<div class="block">Performs this operation using the array of input values. Returns the results of execution as an
 ResultOrException object and can output results to specified PrintStream.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../randoop/operation/CallableOperation.html#execute-java.lang.Object:A-java.io.PrintStream-">execute</a></code>&nbsp;in class&nbsp;<code><a href="../../randoop/operation/CallableOperation.html" title="class in randoop.operation">CallableOperation</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>statementInput</code> - array containing appropriate inputs to operation</dd>
<dd><code>out</code> - stream to output results of execution; can be null if you don't want to print</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><a href="../../randoop/NormalExecution.html" title="class in randoop"><code>NormalExecution</code></a> object enclosing value of this non-receiver term</dd>
</dl>
</li>
</ul>
<a name="appendCode-randoop.types.Type-randoop.types.TypeTuple-randoop.types.Type-java.util.List-java.lang.StringBuilder-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendCode</h4>
<pre>public&nbsp;void&nbsp;appendCode(<a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;declaringType,
                       <a href="../../randoop/types/TypeTuple.html" title="class in randoop.types">TypeTuple</a>&nbsp;inputTypes,
                       <a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;outputType,
                       <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../randoop/sequence/Variable.html" title="class in randoop.sequence">Variable</a>&gt;&nbsp;inputVars,
                       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;b)</pre>
<div class="block">Produces a Java source code representation of this statement and appends it to the given
 StringBuilder.

 <p>For NonreceiverTerm, simply adds a code representation of the value to the string builder.
 Note: this does not explicitly box primitive values.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../randoop/operation/CallableOperation.html#appendCode-randoop.types.Type-randoop.types.TypeTuple-randoop.types.Type-java.util.List-java.lang.StringBuilder-">appendCode</a></code>&nbsp;in class&nbsp;<code><a href="../../randoop/operation/CallableOperation.html" title="class in randoop.operation">CallableOperation</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>inputVars</code> - ignored</dd>
<dd><code>b</code> - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> to which string representation is appended</dd>
<dd><code>declaringType</code> - the declaring type for this operation</dd>
<dd><code>inputTypes</code> - the input types for this operation</dd>
<dd><code>outputType</code> - the output type for this operation</dd>
</dl>
</li>
</ul>
<a name="getValue--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getValue()</pre>
<div class="block">Returns the "value" of an operation that is actually a ground term, meaning a constant of some
 form. Only null if value is null, otherwise throws an exception if there is not a reasonable
 meaning of value for type of operation.

 <p>This is a hack to allow randoop.main.GenBranchDir to do mutation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../randoop/operation/Operation.html#getValue--">getValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../randoop/operation/Operation.html" title="interface in randoop.operation">Operation</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../randoop/operation/CallableOperation.html#getValue--">getValue</a></code>&nbsp;in class&nbsp;<code><a href="../../randoop/operation/CallableOperation.html" title="class in randoop.operation">CallableOperation</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>value of this <a href="../../randoop/operation/NonreceiverTerm.html" title="class in randoop.operation"><code>NonreceiverTerm</code></a></dd>
</dl>
</li>
</ul>
<a name="getType--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre>public&nbsp;<a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;getType()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the type</dd>
</dl>
</li>
</ul>
<a name="createNullOrZeroTerm-randoop.types.Type-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNullOrZeroTerm</h4>
<pre>static&nbsp;<a href="../../randoop/operation/NonreceiverTerm.html" title="class in randoop.operation">NonreceiverTerm</a>&nbsp;createNullOrZeroTerm(<a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;type)</pre>
<div class="block">Returns a NonreceiverTerm holding the zero value for the specified class c. In the case of
 characters there is no natural zero, so the value 'a' is used. Also, returns null for <a href="../../randoop/types/JavaTypes.html#CLASS_TYPE"><code>JavaTypes.CLASS_TYPE</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the type of value desired</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../../randoop/operation/NonreceiverTerm.html" title="class in randoop.operation"><code>NonreceiverTerm</code></a> with a canonical representative of the given type</dd>
</dl>
</li>
</ul>
<a name="toParsableString-randoop.types.Type-randoop.types.TypeTuple-randoop.types.Type-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toParsableString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toParsableString(<a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;declaringType,
                               <a href="../../randoop/types/TypeTuple.html" title="class in randoop.types">TypeTuple</a>&nbsp;inputTypes,
                               <a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;outputType)</pre>
<div class="block">Returns a string representation of this Operation, which can be read by static parse method for
 class. For a class C implementing the Operation interface, this method should return a String s
 such that parsing the string returns an object equivalent to this object, i.e.
 C.parse(this.s).equals(this).

 <p>Returns a string representing this primitive declaration. The string is of the form:<br>
 <code>TYPE:VALUE</code><br>
 Where TYPE is the type of the primitive declaration, and VALUE is its value. If VALUE is "null"
 then the value is null (not the String "null"). If TYPE is "char" then
 (char)Integer.parseInt(VALUE, 16) yields the character value.

 <p>Examples:

 <pre>
 String:null                  represents: String x = null
 java.lang.String:""          represents: String x = "";
 String:""                    represents: String x = "";
 String:" "                   represents: String x = " ";
 String:"\""                  represents: String x = "\"";
 String:"\n"                  represents: String x = "\n";
 String:"☺"              represents: String x = "☺";
 java.lang.Object:null        represents: Object x = null;
 [[Ljava.lang.Object;:null    represents: Object[][] = null;
 int:0                        represents: int x = 0;
 boolean:false                represents: boolean x = false;
 char:20                      represents: char x = ' ';
 </pre>

 Note that a string type can be given as both "String" or "java.lang.String".</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../randoop/operation/CallableOperation.html#toParsableString-randoop.types.Type-randoop.types.TypeTuple-randoop.types.Type-">toParsableString</a></code>&nbsp;in class&nbsp;<code><a href="../../randoop/operation/CallableOperation.html" title="class in randoop.operation">CallableOperation</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>declaringType</code> - the declaring type for this operation</dd>
<dd><code>inputTypes</code> - the input types for this operation</dd>
<dd><code>outputType</code> - the output type for this operation</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>string representation of primitive, String or null value</dd>
</dl>
</li>
</ul>
<a name="parse-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parse</h4>
<pre>public static&nbsp;<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&nbsp;parse(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)
                            throws <a href="../../randoop/operation/OperationParseException.html" title="class in randoop.operation">OperationParseException</a></pre>
<div class="block">Parse a non-receiver value in a string in the form generated by <a href="../../randoop/operation/NonreceiverTerm.html#toParsableString-randoop.types.Type-randoop.types.TypeTuple-randoop.types.Type-"><code>toParsableString(Type, TypeTuple, Type)</code></a></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>s</code> - a string representing a value of a non-receiver type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the non-receiver term for the given string descriptor</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../randoop/operation/OperationParseException.html" title="class in randoop.operation">OperationParseException</a></code> - if string does not represent valid object</dd>
</dl>
</li>
</ul>
<a name="isNonreceivingValue--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isNonreceivingValue</h4>
<pre>public&nbsp;boolean&nbsp;isNonreceivingValue()</pre>
<div class="block">Predicate to indicate whether this object represents a value of a non-receiving type (includes
 numbers, strings, and null).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../randoop/operation/Operation.html#isNonreceivingValue--">isNonreceivingValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../randoop/operation/Operation.html" title="interface in randoop.operation">Operation</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../randoop/operation/CallableOperation.html#isNonreceivingValue--">isNonreceivingValue</a></code>&nbsp;in class&nbsp;<code><a href="../../randoop/operation/CallableOperation.html" title="class in randoop.operation">CallableOperation</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true, since all of objects are non-receivers</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../randoop/operation/MethodCall.html" title="class in randoop.operation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../randoop/operation/Operation.html" title="interface in randoop.operation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?randoop/operation/NonreceiverTerm.html" target="_top">Frames</a></li>
<li><a href="NonreceiverTerm.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
